package com.sky.constant;

/**
 * 信息提示常量类
 */
public class MessageConstant {

    public static final String USERNAME_OR_PASSWORD_IS_NULL = "用户名或密码不能为空";
    public static final String PASSWORD_ERROR = "密码错误";
    public static final String ACCOUNT_NOT_FOUND = "账号不存在";
    public static final String ACCOUNT_LOCKED = "账号被锁定";
    public static final String UNKNOWN_ERROR = "未知错误";
    public static final String USER_NOT_LOGIN = "用户未登录";
    public static final String CATEGORY_BE_RELATED_BY_SETMEAL = "当前分类关联了套餐,不能删除";
    public static final String CATEGORY_BE_RELATED_BY_DISH = "当前分类关联了菜品,不能删除";
    public static final String SHOPPING_CART_IS_NULL = "购物车数据为空，不能下单";
    public static final String ADDRESS_BOOK_IS_NULL = "用户地址为空，不能下单";
    public static final String LOGIN_FAILED = "登录失败";
    public static final String UPLOAD_FAILED = "文件上传失败";
    public static final String SETMEAL_ENABLE_FAILED = "套餐内包含未启售菜品，无法启售";
    public static final String PASSWORD_EDIT_FAILED = "密码修改失败";
    public static final String DISH_ON_SALE = "起售中的菜品不能删除";
    public static final String SETMEAL_ON_SALE = "起售中的套餐不能删除";
    public static final String DISH_BE_RELATED_BY_SETMEAL = "当前菜品关联了套餐,不能删除";
    public static final String ORDER_STATUS_ERROR = "订单状态错误";
    public static final String ORDER_IS_DELIVERING_NO_CANCEL = "订单已经派送，不能取消，请联系商家";
    public static final String ORDER_NOT_FOUND = "订单不存在";
    public static final String TRADE_COURIERID_NOT_FOUND = "运单号和骑手编号不能为空";
    public static final String TRADE_STATUS_EXCEPTION = "当前运单状态必须：接单，待取货状态";
    public static final String ORDER_STATUS_TOBE_OUT= "当前订单已出餐";
    public static final String TRADE_COMPLETE_CANCLE_EXCEPTION = "当前运单状态必须：已完成或取消状态";
    public static final String PHONE_IS_NULL = "手机号不能为空";

    // CRUD成功通用提示信息
    public static final String ADD_SUCCESS = "添加成功";
    public static final String UPDATE_SUCCESS = "修改成功";
    public static final String DELETE_SUCCESS = "删除成功";
    public static final String SELECT_SUCCESS = "查询成功";
    public static final String GENERAL_SUCCESS = "操作成功";

    public static final String PARAMES_IS_INVALID = "参数非法";
    public static final String PARAMES_IS_NULL = "参数为空";

    public static final String ID_IS_NULL = "ID不能为空";
    public static final String EMPLOYEE_STATUS_IS_NULL = "员工状态不能为空";
    public static final String EMPLOYEE_NOT_FOUND = "员工不存在";

    public static final String EMPLOYEE_USERNAME_EXIST = "员工账号已存在";
    public static final String PHONE_IS_INVALID = "手机号不合法";
    public static final String ID_NUMBER_IS_INVALID = "身份证号不合法";
    public static final String EMPLOYEE_STATUS_IS_INVALID = "员工状态不合法";

    public static final String PAGE_PARAMETER_IS_INVALID = "分页参数非法";

    // 分类相关
    public static final String CATEGORY_TYPE_IS_INVALID = "分类类型参数不合法";
    public static final String CATEGORY_ID_IS_NULL = "分类ID不能为空";
    public static final String CATEGORY_NAME_IS_NULL = "分类名称不能为空";
    public static final String ADD_CATEGORY_SORT_PARAM_IS_NULL = "新增分类排序不能为空";
    public static final String CATEGORY_STATUS_PARAM_IS_NULL = "分类状态不能为空";

    // 菜品相关
    public static final String DISH_NAME_IS_EXIST = "菜品名称重复";
    public static final String DISH_STATUS_IS_INVALID = "菜品状态非法";
    public static final String DISH_NOT_EXIST = "菜品不存在";

    // 套餐相关
    public static final String SETMEAL_STATUS_IS_INVALID = "套餐状态非法";
    public static final String SETMEAL_NAME_IS_EXIST = "套餐名称重复";
    public static final String SETMEAL_NOT_EXIST = "套餐不存在";

    // 微信登录相关
    public static final String WECHAT_LOGIN_FAILD_OPENID_NOT_EXIST = "登录失败，openid不存在";

    // 购物车相关
    public static final String SHOPPING_CART_ITEM_IS_NULL = "购物车信息为空";
    public static final String SHOPPING_CART_DISH_ID_IS_INVALID = "菜品不存在";
    public static final String SHOPPING_CART_SETMEAL_ID_IS_INVALID = "套餐不存在";

    // 订单相关
    public static final String ORDERS_NUMBER_IS_NULL = "订单编号为空";
}
